package cn.factorybox.item.mapper;

import cn.factorybox.model.entity.DeviceData;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-03-25 11:03
 */
public interface DeviceDataAppMapper {

    int getDeviceType(String fSerialNumber);

    List<DeviceData> getNewData(String fSerialNumber);

    List<DeviceData> getTodayData(String fSerialNumber);

    List<DeviceData> getBeforeDayData(Map<String, Object> map);
}
